package com.jinmdz.fmis.api.api.model.settlement;

import com.jinmdz.fmis.api.api.model.common.IdVersionData;
import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.ArrayList;

/**
 * 执行日结审核请求数据
 *
 * @author LiCongLu
 * @date 2020-02-21 12:14
 */
@ApiModel(value = "执行日结审核请求数据", description = "执行日结审核请求数据")
public class SettleDailyExpensesVerifyData extends BaseBean {

    /**
     * 日结金额
     */
    @AnValidate(name = "日结金额", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "日记金额", name = "dailyCharge", position = 1)
    private BigDecimal dailyCharge;

    /**
     * 发票个数
     */
    @AnValidate(name = "发票个数", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "发票个数", name = "invoiceCount", position = 1)
    private Integer invoiceCount;

    /**
     * 收据个数
     */
    @AnValidate(name = "收据个数", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "收据个数", name = "receiptCount", position = 1)
    private Integer receiptCount;

    /**
     * 主键集合
     */
    @AnValidate(name = "主键集合", required = true)
    @ApiModelProperty(value = "主键集合", name = "ids", position = 2)
    private ArrayList<IdVersionData> ids;

    public BigDecimal getDailyCharge() {
        return dailyCharge;
    }

    public SettleDailyExpensesVerifyData setDailyCharge(BigDecimal dailyCharge) {
        this.dailyCharge = dailyCharge;
        return this;
    }

    public Integer getInvoiceCount() {
        return invoiceCount;
    }

    public SettleDailyExpensesVerifyData setInvoiceCount(Integer invoiceCount) {
        this.invoiceCount = invoiceCount;
        return this;
    }

    public Integer getReceiptCount() {
        return receiptCount;
    }

    public SettleDailyExpensesVerifyData setReceiptCount(Integer receiptCount) {
        this.receiptCount = receiptCount;
        return this;
    }

    public ArrayList<IdVersionData> getIds() {
        return ids;
    }

    public SettleDailyExpensesVerifyData setIds(ArrayList<IdVersionData> ids) {
        this.ids = ids;
        return this;
    }
}
